﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>无标题文档</title>
	<link href="css/style.css" rel="stylesheet" type="text/css" />
	<script language="JavaScript" src="js/jquery.js"></script>

	<script type="text/javascript">
		$(function(){
			//导航切换
			$(".menuson .header").click(function(){
				var $parent = $(this).parent();
				$(".menuson>li.active").not($parent).removeClass("active open").find('.sub-menus').hide();

				$parent.addClass("active");
				if(!!$(this).next('.sub-menus').size()){
					if($parent.hasClass("open")){
						$parent.removeClass("open").find('.sub-menus').hide();
					}else{
						$parent.addClass("open").find('.sub-menus').show();
					}


				}
			});

			// 三级菜单点击
			$('.sub-menus li').click(function(e) {
				$(".sub-menus li.active").removeClass("active")
				$(this).addClass("active");
			});

			$('.title').click(function(){
				var $ul = $(this).next('ul');
				$('dd').find('.menuson').slideUp();
				if($ul.is(':visible')){
					$(this).next('.menuson').slideUp();
				}else{
					$(this).next('.menuson').slideDown();
				}
			});
		})
	</script>

	<script type="text/javascript">
		$(function() { // 初始化内容
			$.ajax({
				type: "GET",
				url: "test.json",
				data: "",
				dataType: "json",
				success: function(data){
					$('#resText').empty();   // 清空resText里面的所有内容
					var html = '';
					$.each(data, function(commentIndex, comment){
						html += '<div class="comment"><h6>' + comment['username']
								+ ':</h6><p class="para"' + comment['content']
								+ '</p></div>';
					});
					$('#resText').html(html);
				}
			});
		});
	</script>
</head>

<body style="background:#f0f9fd;">
<div class="lefttop"><span></span>导航菜单</div>

<dl class="leftmenu">
	<dd>
		<div class="title"><span><img src="images/leftico03.png" /></span>人事管理</div>
		<ul class="menuson">
			<li><cite></cite><a href="deptAdd.html" target="rightFrame">添加部门</a><i></i></li>
			<li><cite></cite><a href="ptu/DeptServlet?method=deptFindAll" target="rightFrame">部门管理</a><i></i></li>
			<li><cite></cite><a href="positionAdd.jsp" target="rightFrame">添加岗位</a><i></i></li>
			<li><cite></cite><a href="ptu/PositionServlet?method=positionFindAll" target="rightFrame">岗位管理</a><i></i></li>
			<li><cite></cite><a href="empAdd.jsp" target="rightFrame">添加员工</a><i></i></li>
			<li><cite></cite><a href="ptu/EmployeeServlet?method=showEmpPage" target="rightFrame">员工管理</a><i></i></li>
		</ul>
	</dd>
	<dd>
		<div class="title"><span><img src="images/leftico03.png" /></span>考勤管理</div>
		<ul class="menuson">
			<li><cite></cite><a href="dutyAdd.jsp" target="rightFrame">签到签退</a><i></i></li>
			<li><cite></cite><a href="ptu/DutyServlet?method=dutyFindMore" target="rightFrame">考勤管理</a><i></i></li>
			<li><cite></cite><a href="ptu/DutyServlet?method=getMyDuty" target="rightFrame">我的考勤</a><i></i></li>
		</ul>
	</dd>
	<dd>
		<div class="title"><span><img src="images/leftico03.png" /></span>报销管理</div>
		<ul class="menuson">
			<li><cite></cite><a href="expenseAdd.jsp" target="rightFrame">添加报销</a><i></i></li>
			<li><cite></cite><a href="toAudit.html" target="rightFrame">待审报销</a><i></i></li>
			<li><cite></cite><a href="ptu/ExpenseServlet?method=showMyExpense" target="rightFrame">我的报销</a><i></i></li>
			<li><cite></cite><a href="ptu/AuditingServlet?method=showMyAudit" target="rightFrame">我的审核历史</a><i></i></li>
		</ul>
	</dd>
	<dd>
		<div class="title"><span><img src="images/leftico03.png" /></span>收支管理</div>
		<ul class="menuson">
			<li><cite></cite><a href="incomeAdd.html" target="rightFrame">添加收入</a><i></i></li>
			<li><cite></cite><a href="ptu/InComeServlet?method=showInCPage" method="post" target="rightFrame">查看收入</a><i></i></li>
			<li><cite></cite><a href="ptu/InComeServlet?method=IncomeStatics" target="rightFrame">收入统计</a><i></i></li>
			<li><cite></cite><a href="addPayment.html" target="rightFrame">添加支出</a><i></i></li>
			<li><cite></cite><a href="ptu/PaymentServlet?method=showPayPage" target="rightFrame">查看支出</a><i></i></li>
			<li><cite></cite><a href="ptu/PaymentServlet?method=total" target="rightFrame">支出统计</a><i></i></li>
		</ul>
	</dd>
	<dd>
		<div class="title"><span><img src="images/leftico03.png" /></span>惩处管理</div>
		<ul class="menuson">
			<li><cite></cite><a href="addPunishment.html" target="rightFrame">添加惩处</a><i></i></li>
			<li><cite></cite><a href="ptu/PunishmentServlet?method=showPunPage" target="rightFrame">查看惩处</a><i></i></li>
		</ul>
	</dd>
	<dd>
		<div class="title"><span><img src="images/leftico03.png" /></span>个人平台</div>
		<ul class="menuson">
			<li><cite></cite><a href="myInfo.jsp" target="rightFrame">我的信息</a><i></i></li>
			<li><cite></cite><a href="myPwd.jsp" target="rightFrame">修改密码</a><i></i></li>
		</ul>
	</dd>
</dl>

</body>

</html>
